package com.zksk.portal.domain.invoice.dto;

import com.zksk.mbg.admin.domain.PageVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Accessors(chain = true)
@ApiModel(value = "InvoiceApplyDto" ,description = "发票申请对象")
public class InvoiceApplyDto extends PageVo {

    @ApiModelProperty("企业id")
    private Long memberId;

    @ApiModelProperty("保函类型")
    private Integer guaranteeType;

    @ApiModelProperty("开票状态：0已开票 1开票中 2已申请 3未开票")
    private Integer status;

    @ApiModelProperty("标段名称")
    private String sectionName;

    @ApiModelProperty("订单时间范围-开始时间")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ordersTimeL;

//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("订单时间范围-结束时间")
    private Date ordersTimeR;
}
